package com.power.dao;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * User: 朱雄
 * Date: 2020/10/05 10:34
 * Description:
 * Version: V1.0
 */
public interface NeedDealtDao {
    /**
     * 待办事项
     *
     * @param user_account
     * @param role_id
     * @param newPage
     * @param newLimit
     * @return
     */
    List<Map<String, Object>> findNeedDealtById(String user_account, String role_id, int newPage, int newLimit) throws SQLException;

    /**
     * 查询下总条数
     * @param user_account
     * @param role_id
     * @return
     */
    int NeedDeadltCount(String user_account, String role_id) throws SQLException;

    /**
     * 接收任务
     * @param user_account
     * @param role_id
     * @return
     */
    int needDealtUpdate(String user_account, String role_id,String task_id) throws SQLException;
}
